<template>
  <div style="height: 200px;">
    <slot name="header" :raw="{ title: props.title }">
      <div><ElButton style="color: red;">clickMe</ElButton></div>
    </slot>
    <slot></slot>
  </div>
</template>

<script setup lang='ts'>
const props = defineProps<{
  title?: string
}>()
</script>

<style scoped></style>
